package com.ultimatech.webappdemo.base;

import com.google.gson.GsonBuilder;

/**
 * Created by zhangleping on 2017/3/10.
 */
public class BaseService {

    private GsonBuilder gsonBuilder;

    public BaseService() {
        GsonBuilder gsonBuilder=new GsonBuilder();
        gsonBuilder.setPrettyPrinting();
        this.gsonBuilder = gsonBuilder;
    }

    public GsonBuilder getGsonBuilder() {
        return gsonBuilder;
    }

    public void setGsonBuilder(GsonBuilder gsonBuilder) {
        this.gsonBuilder = gsonBuilder;
    }
}
